from django.contrib import admin
from django.urls import path, include
from seckill import settings
from django.views.static import serve
from django.conf.urls.static import static

urlpatterns = [
                  path('admin/', admin.site.urls),
                  path('goods/', include('order.urls')),
                  path('media/<path:path>', serve, kwargs={'document_root': settings.MEDIA_ROOT}),
              ] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
